/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Luuk
 */
public class NewClass {
    
    public static void main(String[] args){
        System.out.println(add(1.0, 2.0));
        System.out.println(multiply(3.0, 5.0));
    }

    private static double add(double d0, double d1) {
        localhost.CalcService service = new localhost.CalcService();
        localhost.CalcServiceSoap port = service.getCalcServiceSoap12();
        return port.add(d0, d1);
    }

    private static double multiply(double d0, double d1) {
        localhost.CalcService service = new localhost.CalcService();
        localhost.CalcServiceSoap port = service.getCalcServiceSoap12();
        return port.multiply(d0, d1);
    }
}
